package com.jeomo.sys.provider.sysoption;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 系统选项
 *
 * @author:Jackpot
 * @create 2020-12-10 10:23
 * @description:
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Component
@Scope("prototype")
public @interface SystemOption {

    /**
     * 系统选项唯一标识<br/>
     * 默认为类名
     * @return
     */
    public String code() default "";

    public String name() default "";
}
